package searchteam.client.beansMirrors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;

public class TeamMirror implements Serializable {

	private static final long serialVersionUID = -634220655293927798L;

	private int id;
	private String name;
	private String meaning;
	private String status;
	private PersonMirror teamMaster;
	private Collection<PersonMirror> members;

	public TeamMirror() {
		members = new ArrayList<PersonMirror>();
	}

	public TeamMirror(String name, String meaning, String status, PersonMirror teamMaster) {
		this.name = name;
		this.meaning = meaning;
		this.status = status;
		this.teamMaster = teamMaster;
		members = new ArrayList<PersonMirror>();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMeaning() {
		return meaning;
	}

	public void setMeaning(String meaning) {
		this.meaning = meaning;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public PersonMirror getTeamMaster() {
		return teamMaster;
	}

	public void setTeamMaster(PersonMirror teamMaster) {
		this.teamMaster = teamMaster;
	}

	public Collection<PersonMirror> getMembers() {
		return members;
	}

	public void setMembers(Collection<PersonMirror> members) {
		this.members = members;
	}

	public void addMember(PersonMirror member) {
		members.add(member);
	}
	
}
